filenames = ['cats.txt','dogs.txt']

for filename1 in filenames:
    try:
        with open("a"+filename1) as f:#此处指向的是并不存在的文件路径，内部必定不含有相关的file
            massege = f.read()
    except FileNotFoundError:
        #print("Not found.......")
        pass
    else:
        print(massege)

